import alist from "./alist"
import ntWiki from "./ntWiki"
import sunPanel from "./sunPanel"
import {IBaseInfo} from "@/@types/main"
import {enumSite} from "@/emums"
export const loginWaySwitch = (info: IBaseInfo) => {
  if (info.site === enumSite.alist) {
    alist.solve(info);
  } else if (info.site === enumSite.ntWiki) {
    ntWiki.solve(info);
  }
  if (info.site === enumSite.sunPanel) {
    sunPanel.solve(info);
  }
}